package com.hisense.proxy.service.test.unuploadApi.output_invoice;

import com.hisense.proxy.service.entity.unupload.output_invoice.RedInvoiceBuildParam;
import com.hisense.proxy.service.utils.HttpClientUtil;
import com.hisense.proxy.service.utils.URLConfigEnum;

import java.util.Map;

/**
 * @author wrk
 * @date 2021/5/24 16:59
 * 专票红冲
 */
public class RedInvoice {
    public static void main(String[] args) throws Exception {
        String result="";
        result=redSpecial();
        System.out.println(result);
    }

    private static String redSpecial() throws Exception {
        Map<String, Object> paramsMap = RedInvoiceBuildParam.importSubPro();
        return HttpClientUtil.jsonPost(URLConfigEnum.SPECIALRED.getUrl(), paramsMap);
    }
}
